package com.amigo.online.provider.manager.model.entity;

import java.util.List;

import javax.persistence.Column;
import javax.persistence.Table;

import org.apache.ibatis.type.Alias;
import org.springframework.data.annotation.Transient;

import com.amigo.online.provider.manager.util.param.dto.PageDto;

@Table(name = "adv_recommend_apply_tbl")
@Alias(value = "advRecommendApplyTbl")
public class AdvRecommendApplyTbl extends PageDto {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    @Column(name = "order_id")
    private String orderId;// 订单号

    @Column(name = "user_name")
    private String userName;// 申请人姓名

    @Column(name = "user_id")
    private Long userId;// 用户id

    @Column(name = "single_show_price")
    private Double singleShowPrice;// 单次播放价格

    @Column(name = "total_price")
    private Integer totalPrice;// 总价

    @Column(name = "status")
    private Integer status;// 申请状态，0待审核 1通过 2不通过 3完成 4未支付

    @Column(name = "duration")
    private Integer duration;// 投放天数

    @Column(name = "start_time")
    private Long startTime;// 投放开始时间

    @Column(name = "end_time")
    private Long endTime;// 投放结束时间

    @Column(name = "target_user_sex_type")
    private Integer targetUserSexType;// 目标用户性别

    @Column(name = "target_user_age_type")
    private Integer targetUserAgeType;// 目标用户最大年龄项

    @Column(name = "target_area_type")
    private Integer targetAreaType;// 投放区域类型1）全国2）省市3）方圆

    @Column(name = "total_number")
    private Integer totalNumber;// 申请总投放量

    @Column(name = "updated_time")
    private Long updatedTime;// 修改時間

    @Column(name = "deleted")
    private Integer deleted;// 删除 0未刪 1刪除

    @Column(name = "deleted_time")
    private Long deletedTime;// 刪除時間

    @Column(name = "ios_forward_url")
    private String iosForwardUrl;

    @Column(name = "android_forward_url")
    private String androidForwardUrl;

    @Column(name = "ios_app_url")
    private String iosAppUrl;//ios点击跳转的url地址

    @Column(name = "android_app_url")
    private String androidAppUrl;//android点击跳转的url地址

    @Column(name = "ios_click_feedback")
    private Integer iosClickFeedback;//0 ) app 1 )web

    @Column(name = "android_click_feedback")
    private Integer androidClickFeedback;//0 ) app 1 )web

    @Column(name = "single_click_price")
    private Double singleClickPrice;//单一点击价格

    @Transient
    private List<Long> areaIds;


    public Double getSingleClickPrice() {
        return singleClickPrice;
    }

    public void setSingleClickPrice(Double singleClickPrice) {
        this.singleClickPrice = singleClickPrice;
    }

    public String getIosAppUrl() {
        return iosAppUrl;
    }

    public void setIosAppUrl(String iosAppUrl) {
        this.iosAppUrl = iosAppUrl;
    }

    public String getAndroidAppUrl() {
        return androidAppUrl;
    }

    public void setAndroidAppUrl(String androidAppUrl) {
        this.androidAppUrl = androidAppUrl;
    }

    public Integer getIosClickFeedback() {
        return iosClickFeedback;
    }

    public void setIosClickFeedback(Integer iosClickFeedback) {
        this.iosClickFeedback = iosClickFeedback;
    }

    public Integer getAndroidClickFeedback() {
        return androidClickFeedback;
    }

    public void setAndroidClickFeedback(Integer androidClickFeedback) {
        this.androidClickFeedback = androidClickFeedback;
    }

    public Double getSingleShowPrice() {
        return singleShowPrice;
    }

    public void setSingleShowPrice(Double singleShowPrice) {
        this.singleShowPrice = singleShowPrice;
    }

    public List<Long> getAreaIds() {
        return areaIds;
    }

    public void setAreaIds(List<Long> areaIds) {
        this.areaIds = areaIds;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Integer totalPrice) {
        this.totalPrice = totalPrice;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getDuration() {
        return duration;
    }

    public void setDuration(Integer duration) {
        this.duration = duration;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public Integer getTargetUserSexType() {
        return targetUserSexType;
    }

    public void setTargetUserSexType(Integer targetUserSexType) {
        this.targetUserSexType = targetUserSexType;
    }

    public Integer getTargetUserAgeType() {
        return targetUserAgeType;
    }

    public void setTargetUserAgeType(Integer targetUserAgeType) {
        this.targetUserAgeType = targetUserAgeType;
    }

    public Integer getTargetAreaType() {
        return targetAreaType;
    }

    public void setTargetAreaType(Integer targetAreaType) {
        this.targetAreaType = targetAreaType;
    }

    public Integer getTotalNumber() {
        return totalNumber;
    }

    public void setTotalNumber(Integer totalNumber) {
        this.totalNumber = totalNumber;
    }

    public Long getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Long updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Long getDeletedTime() {
        return deletedTime;
    }

    public void setDeletedTime(Long deletedTime) {
        this.deletedTime = deletedTime;
    }

    public String getIosForwardUrl() {
        return iosForwardUrl;
    }

    public void setIosForwardUrl(String iosForwardUrl) {
        this.iosForwardUrl = iosForwardUrl;
    }

    public String getAndroidForwardUrl() {
        return androidForwardUrl;
    }

    public void setAndroidForwardUrl(String androidForwardUrl) {
        this.androidForwardUrl = androidForwardUrl;
    }

}
